How cities are built